package com.net.tkc.pro.service;

import com.net.tkc.pro.entity.Opt;
import com.net.tkc.pro.impl.OptImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OptService  {
    @Resource
    OptImpl optImpl;
    public int addOpt(Opt Opt) {
        return optImpl.addOpt(Opt);
    }


    public List<Opt> getOptList(int userid) {
        return optImpl.getOptList(userid);
    }
}
